home *** CD-ROM | disk | FTP | other *** search
- Short: Starts a program if defined qualifiers are pressed.
- Type: util/boot
- Version: 1.0
- Author: Stefan Le Breton (slbrbbbh@sp.zrz.TU-Berlin.de)
- Uploader: Stefan Le Breton (slbrbbbh@sp.zrz.TU-Berlin.de)
-
- NAME
- IfQual - start a program if defined qulifiers are pressed
-
- SYNOPSIS
- IfQual [qualifier ...] program arguments
-
- TEMPLATE
- LBUT/S,MBUT/S,RBUT/S,CTRL/S,CAPS/S,LSHIFT/S,RSHIFT/S,
- LALT/S,RALT/S,LAMIGA/S,RAMIGA/S,DO/A/F
-
- DESCRIPTION
- IfQual starts a program if the given qualifiers are pressed.
- Any combination may be given, though some are not recommended...
- (e.g. ctrl-lamiga-ramiga) or some need special hardware.
-
- LBUT, MBUT, RBUT: Mousebuttons: left, middle & right
- CTRL, CAPS, LSHIFT, RSHIFT, LALT, RALT, LAMIGA, RAMIGA:
- obvious, at least I think so.
-
- DO: this is the program and it arguments that should
- be started if conditions are met.
- program is started with System(), so the program may also
- be a shell or rexx script.
-
- EXAMPLE
- I use IfQual, to decide which system to boot AmigaOS or NetBSD.
- When I presss the middle mousebutton it should be NetBSD.
- The first line in my startup-sequence is:
-
- IfQual MBut loadbsd -a -c 2000 karamba:nbsd/netbsd
-
- COMPABILITY
- IfQual needs at least 'input.device' and 'dos.library' V36.
- Both are part of the system software... The required software
- is included in AmigaOS 2.0, 2.1, 3.0, 3.1. Other versions may differ,
- though this is not very likely.
-
- COPYRIGHT
- IfQual is ©1995 Stefan Le Breton (slbrbbbh@sp.zrz.TU-Berlin.de valid until Oct 96)
-
- DISTRIBUTION
- Freely distributable as long as the archive is complete and unchanged.
-
- LICENSE
- Amiga-Oberon Licence:
- 'You may not use IfQual in any way for military purposes.
- You may not use IfQual in systems that affect life of people in any way.'
-